package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ld&zjw
 * @since 2024-01-30
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    public class SysLoginRecord implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * id
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      /**
     * 用户id
     */
      private Integer userId;

      /**
     * 用户名
     */
      private String username;

      /**
     * 登陆地址
     */
      private String loginIp;

      /**
     * 登陆时间
     */
      private Date loginTime;

      /**
     * 创建时间
     */
        @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      /**
     * 修改时间
     */
        @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;

      /**
     * 备用字段1
     */
      private String spare1;

      /**
     * 备用字段2
     */
      private String spare2;

      /**
     * 备用字段3
     */
      private String spare3;

      /**
     * 备用字段4
     */
      private String spare4;

      /**
     * 备用字段5
     */
      private String spare5;


}
